package it.prova;

import java.io.PrintStream;

import javax.ejb.Stateless;
import javax.inject.Singleton;

/**
 * A component for creating personal greetings.
 */
@Stateless
public class Greeter {
	
    public void greet(PrintStream to, String name) {
        to.println(createGreeting(name));
    }

    public String createGreeting(String name) {
        return "Hello, " + name +"Sassi"+ "!";       
    }
}